<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>CSS学习01</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
        div{
            width:20%;
            height:3em;
            line-height:3em;
            border-width: 6px;
            border-color:black;
            margin:4px auto;
            text-align: center;
        }

        .solid{
            border-style:solid;
        }

        .dotted{
            border-style:dotted;
        }

        .dashed{
            border-style:dashed;
        }

        .double{
            border-style:double;
        }

        .groove{
            border-style:groove;
        }

        .ridge{
            border-style:ridge;
        }

        .inset{
            border-style:inset;
        }

        .outset{
            border-style:outset;
        }
    </style>
</head>
<body>
    <div class="solid">实线</div>
    <div class="dotted">点线</div>
    <div class="dashed">虚线</div>
    <div class="double">双线</div>
    <div class="groove">Groove</div>
    <div class="ridge">Ridge</div>
    <div class="inset">inset</div>
    <div class="outset">outset</div>
</body>
</html>